<%= form_for(@scheduler) do |f| %>
  <% if @scheduler.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@scheduler.errors.count, "error") %> prohibited this scheduler from being saved:</h2>

      <ul>
      <% @scheduler.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :sendval %><br>
    <%= f.text_field :sendval %>
  </div>
  <div class="field">
    <%= f.label :sendflag %><br>
    <%= f.number_field :sendflag %>
  </div>
  <div class="field">
    <%= f.label :week %><br>
    <%= f.number_field :week %>
  </div>
  <div class="field">
    <%= f.label :hr %><br>
    <%= f.number_field :hr %>
  </div>
  <div class="field">
    <%= f.label :min %><br>
    <%= f.number_field :min %>
  </div>
  <div class="field">
    <%= f.label :sec %><br>
    <%= f.number_field :sec %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
